package com.xue566.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 学生老师关联表
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "user_class_info")
public class UserClassEntity extends BaseEntity {

    @TableId(value = "userClassId", type = IdType.INPUT)
    private String userClassId;
    @TableField(value = "classId")
    private String classId;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "userType")
    private int userType;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "isUsed")
    private int isUsed;

    public String getUserClassId () {
        return userClassId;
    }

    public void setUserClassId (String userClassId) {
        this.userClassId = userClassId;
    }

    public String getClassId () {
        return classId;
    }

    public void setClassId (String classId) {
        this.classId = classId;
    }

    public String getUserId () {
        return userId;
    }

    public void setUserId (String userId) {
        this.userId = userId;
    }

    public int getUserType () {
        return userType;
    }

    public void setUserType (int userType) {
        this.userType = userType;
    }

    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
